package com.ruoyi.system.service;

import com.ruoyi.system.domain.ParkRate;
import com.ruoyi.system.domain.SysHolidayDetail;
import com.ruoyi.system.domain.SysHolidayTotal;

import java.util.List;

/**
 * @author ytl
 * 休假管理模块
 */
public interface ISysHolidayDetailService {
    /**
     * 导入参数数据
     *
     * @param sysHolidayDetailList 参数数据列表
     * @param isUpdateSupport 是否更新支持，如果已存在，则进行更新数据
     * @param operName 操作用户
     * @return 结果
     */
    public String importSysHolidayDetail(List<SysHolidayDetail> sysHolidayDetailList, Boolean isUpdateSupport, String operName);

    List<SysHolidayDetail> selectHolidayDetail(String projectName, String userName);

    String validateDatas(List<SysHolidayDetail> holidayList);

    List<SysHolidayDetail> listSysHolidayDetail(SysHolidayDetail sysHolidayDetail);

    int deleteHolidayDetailByIds(String[] ids);

    int insertSysHolidayDetail(SysHolidayDetail sysHolidayDetail, String operName);

    int updateSysHolidayDetail(SysHolidayDetail sysHolidayDetail, String operName);

    SysHolidayDetail selectSysHolidayDetail(String holidayUuid);

    List<SysHolidayDetail> listSysHolidayDetailAll();
}
